<!DOCTYPE html>
<html>
<head>
    <title>操作成功</title>
    <link rel='stylesheet' href='/stylesheets/style.css' />
    <style>
        .container {
            max-width: 600px;
            margin: 50px auto;
            padding: 20px;
            text-align: center;
        }
        .success-message {
            background-color: #d4edda;
            border: 1px solid #c3e6cb;
            border-radius: 8px;
            padding: 30px;
            margin-bottom: 30px;
            color: #155724;
        }
        .success-icon {
            font-size: 48px;
            margin-bottom: 20px;
        }
        .success-text {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 10px;
        }
        .success-subtitle {
            font-size: 16px;
            color: #666;
            margin-bottom: 30px;
        }
        .btn-group {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
        }
        .btn {
            padding: 12px 24px;
            border: none;
            border-radius: 4px;
            font-size: 16px;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
            transition: background-color 0.3s;
        }
        .btn-primary {
            background-color: #007bff;
            color: white;
        }
        .btn-primary:hover {
            background-color: #0056b3;
        }
        .btn-secondary {
            background-color: #6c757d;
            color: white;
        }
        .btn-secondary:hover {
            background-color: #545b62;
        }
        .btn-success {
            background-color: #28a745;
            color: white;
        }
        .btn-success:hover {
            background-color: #1e7e34;
        }
        @media (max-width: 480px) {
            .btn-group {
                flex-direction: column;
                align-items: center;
            }
            .btn {
                width: 200px;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="success-message">
            <div class="success-icon">😊</div>
            <div class="success-text"><%= msg %></div>
            <div class="success-subtitle"><a href="<%= url %>">点击跳转</a></div>
        </div>
        
        <div class="btn-group">
            <a href="/account" class="btn btn-primary">查看记账本</a>
            <a href="/account/add" class="btn btn-success">继续添加</a>
            <!-- <a href="/" class="btn btn-secondary">返回首页</a> -->
        </div>
    </div>
</body>
</html>